package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.PurchaseList;
import com.atguigu.jxc.entity.PurchaseListGoods;
import com.atguigu.jxc.util.DateUtil;

import java.util.List;
import java.util.Map;

/**
 * @author Sanmier
 * @create 2020-12-29 12:48
 */
public interface PurchaseListService {

    //新增进货单
    ServiceVO purchaseListGoodsListSave(PurchaseList purchaseList, List<PurchaseListGoods> purchaseListGoodsList);


    //条件查询
    Map<String, Object> getSearchList(String purchaseNumber, Integer supplierId, Integer state, String sTime, String eTime);


    //查询进货单商品信息
    Map<String, Object> getGoodsList(Integer purchaseListId);


    //进货单删除
    ServiceVO deletePurchaseListGoods(Integer purchaseListId);


    ////支付结算（修改进货单付款状态）
    ServiceVO updatePurchaseListGoods(Integer purchaseListId);
}
